﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Money.Data;

namespace Money.Interfaces
{
    public interface ICurrencyService
    {
        List<Currency> GetCurrencies();
        Currency GetCurrencyById(int id);
        void CreateCurrency(Currency item);
        void DeleteCurrency(int id);
        void UpdateCurrency(Currency item);
        List<Currency> GetCurrencies(string orderBy, string orderDirection, int page, int pageSize, out int totalRecords);
        bool CanDelete(int id);
    }
}
